using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._ParcelTools._Administration
{
    /// <summary>
    /// <para>Remove Parcel Type</para>
    /// <para>Removes  a parcel type from a parcel fabric.</para>
    /// <para>从宗地结构中移除宗地类型。</para>
    /// </summary>    
    [DisplayName("Remove Parcel Type")]
    public class RemoveParcelType : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public RemoveParcelType()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_parcel_fabric">
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric from which the parcel type will be removed. The parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将从中移除宗地类型的宗地结构。宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// </param>
        /// <param name="_name">
        /// <para>Name</para>
        /// <para>The name of the parcel type.</para>
        /// <para>宗地类型的名称。</para>
        /// </param>
        public RemoveParcelType(object _in_parcel_fabric, object _name)
        {
            this._in_parcel_fabric = _in_parcel_fabric;
            this._name = _name;
        }
        public override string ToolboxName => "Parcel Tools";

        public override string ToolName => "Remove Parcel Type";

        public override string CallName => "parcel.RemoveParcelType";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_parcel_fabric, _name, _updated_parcel_fabric, _out_polygon_fc, _out_line_fc];

        /// <summary>
        /// <para>Input Parcel Fabric</para>
        /// <para>The parcel fabric from which the parcel type will be removed. The parcel fabric can be from a file geodatabase or an enterprise geodatabase.</para>
        /// <para>将从中移除宗地类型的宗地结构。宗地结构可以来自文件地理数据库或企业级地理数据库。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_parcel_fabric { get; set; }


        /// <summary>
        /// <para>Name</para>
        /// <para>The name of the parcel type.</para>
        /// <para>宗地类型的名称。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Name")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _name { get; set; }


        /// <summary>
        /// <para>Updated Parcel Fabric</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Parcel Fabric")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_parcel_fabric { get; set; }


        /// <summary>
        /// <para>Output Polygon Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Polygon Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_polygon_fc { get; set; }


        /// <summary>
        /// <para>Output Line Feature Class</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Output Line Feature Class")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_line_fc { get; set; }


        public RemoveParcelType SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}